<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:h="http://java.sun.com/jsf/html"  
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">  

    <h:head>
        <f:facet name="first">

            <link href="resources/css/Comum.css" rel="stylesheet" type="text/css" />

            <title>Prototipo</title>
        </f:facet>
    </h:head>

        
        <p:ajaxStatus style="width:16px;height:16px;position:fixed;right:5px;bottom:5px" >  
            <f:facet name="start">  
                <p:graphicImage value="resources/css/images/ajaxloading.gif" />  
            </f:facet>  

            <f:facet name="complete">  
                <h:outputText value="" />  
            </f:facet>  
        </p:ajaxStatus>  
    
    <h:body>
        <f:view contentType="text/html">
              
            <h:form id="form" > 
                             
                <p:tabMenu activeIndex="#{menu.activeIndex}" id="tabMenu" style="margin-top: -11px !important; margin-left: -11px!important; width:100%" >           
                    <p:menuitem value="Tela Principal" action="#{menu.forwardTelaPrincipal()}" icon="ui-icon-home"   /> 
                    <p:menuitem value="Notícias" action="#{menu.forwardNoticias()}" icon="ui-icon-star"  />  
                    <p:menuitem value="Cadastros" action="#{menu.forwardCadastros()}" icon="ui-icon-person"    /> 
                    <p:menuitem value="Gerencimento" action="#{menu.forwardGerenciamento()}"  icon="ui-icon-folder-collapsed" />  
                    <p:menuitem value="Financeiro" action="#{menu.forwardFinanceiro()}" icon="ui-icon-document"/>  
                    <p:menuitem value="Lançamentos" url="/ui/tabMenuDocumentation.jsf" icon="ui-icon-document"/>  
                    <p:menuitem value="Vendas" url="/ui/tabMenuDocumentation.jsf" icon="ui-icon-cart"/>  
                    <p:menuitem value="Relatórios" url="/ui/tabMenuDocumentation.jsf" icon="ui-icon-clipboard"/>  
                    <p:menuitem value="Gráficos" url="/ui/tabMenuDocumentation.jsf" icon="ui-icon-image"/>  
                    <p:menuitem value="Consultas" url="/ui/tabMenuDocumentation.jsf" icon="ui-icon-search" />               
                    <p:menuitem value="Utilitários" url="/ui/tabMenuDocumentation.jsf" icon="ui-icon-gear"/>  
                    <p:menuitem value="Configurações" url="/ui/tabMenuSupport.jsf" icon="ui-icon-wrench"/>  
                    <p:menuitem value="Ajuda" url="/ui/tabMenuSocial.jsf" disabled="true"  icon="ui-icon-help" />  
                </p:tabMenu>  


                <h:panelGrid columns="1" style="margin-left: -11px!important; width:100%"> 

                    <p:commandLink id="chartBtn" value="Denis Moreira" style="float: right" />  
                  
                    <p:overlayPanel id="chartPanel" for="chartBtn" hideEffect="fade"> 
                         <h:outputText value="Nome Completo: " style="font-weight:bold;" /> <h:outputText value="Denis Soares Moreira" /><br/>
                       <h:outputText value="Email: " style="font-weight:bold;" /> <h:outputText value="denis.soares.moreira@gmail" /><br/><br/>
                        <p:commandButton value="Ver Perfil"   /> <p:commandButton value="Sair"   />
                    </p:overlayPanel> 
                       
                </h:panelGrid>
                <p:panel id="footer" footer="Desenvolvindo por: Denis Soares Moreira">  
                        <ui:insert name="conteudo"></ui:insert>
                </p:panel>
            </h:form>

        </f:view>

    </h:body>  


</html>
